package com.xx.ch06.text.text01;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author 许欣
 * 时间：2022/4/18 15:57
 * 描述：
 */
public class MonkeyTest {


    public static void main(String[] args) {
        ApplicationContext context=new ClassPathXmlApplicationContext("applicationContext6.xml");
        MonkeyText monkeyText=context.getBean("monkeyText",MonkeyText.class);
        monkeyText.print();
    }
}
